Pearson Edexcel · A-Level · Statistics

    Course version: 9ST0 · Version from Sept 2017

    Difference of two

    Full specification wording

    Hypothesis testing for 1 and 2 samples: difference of two means for two independent normal distributions with known variances

    For two independent normal populations with known variances σ₁² and σ₂², the difference of sample means x̄₁ − x̄₂ is normally distributed with mean μ₁ − μ₂ and variance σ₁²/n₁ + σ₂²/n₂.

    • Point 2 of 4

    Study notes

    From the teaching notes for this specification point.

    The idea

    For two independent normal populations with known variances σ₁² and σ₂², the difference of sample means x̄₁ − x̄₂ is normally distributed with mean μ₁ − μ₂ and variance σ₁²/n₁ + σ₂²/n₂. To test H₀: μ₁ − μ₂ = d₀, compute z = ((x̄₁ − x̄₂) − d₀)/√(σ₁²/n₁ + σ₂²/n₂). The standard normal distribution gives critical values or p-values; no t-distribution is used because the variances are known. For example, with σ₁² = 4, n₁ = 25, σ₂² = 9, n₂ = 36, the standard error is √(4/25 + 9/36) = √(0.16 + 0.25) = √0.41 ≈ 0.640. Compare z with the critical value for the chosen tail(s) and significance level, then interpret the decision in context.

    What earns the marks

    • State H₀ and H₁ about the difference of population means μ₁ − μ₂, including any hypothesised difference d₀ and the correct tail(s).
    • Recognise that the two samples are independent and that both population variances are known, so the test statistic follows a standard normal distribution.
    • Calculate the standard error of the difference as √(σ₁²/n₁ + σ₂²/n₂), using the correct variances and sample sizes.
    • Compute the test statistic z = ((x̄₁ − x̄₂) − d₀)/√(σ₁²/n₁ + σ₂²/n₂), keeping the order of subtraction consistent with H₁.
    • Compare z with the standard normal critical value, or compare the p-value with the significance level, and state the decision.
    • Interpret the conclusion in the context of the two populations, making clear what the evidence shows about the difference of means.

    Common mistakes and how to put them right

    • Using a t-distribution when both variances are known.

      Put it right: With known variances the correct distribution is the standard normal.

    • Adding the standard deviations instead of the variances.

      Put it right: The variance of the difference is σ₁²/n₁ + σ₂²/n₂, so the standard error is its square root.

    • Forgetting to divide each variance by its sample size.

      Put it right: Each term must be σ²/n before adding.

    • Reversing the order of subtraction in the numerator without adjusting H₁.

      Put it right: The sign of z must match the direction stated in the alternative hypothesis.

    Exam tips

    • Write H₀ and H₁ in terms of μ₁ − μ₂ and note that the variances are known, so the standard normal distribution applies.
    • Show the calculation of the standard error √(σ₁²/n₁ + σ₂²/n₂) before substituting into the z formula.
    • State the critical value or p-value from the standard normal distribution and finish with a contextual conclusion about the difference of means.

    Try the lesson

    The start of the Hypothesis testing for 1 and 2 samples: difference of two means for two independent normal distributions with known variances lesson, made from teaching notes for this specification point.

    Have a go first

    Independent random samples are taken from two normal populations with known variances. Sample 1 has size n₁ = 20 from a population with σ₁² = 25. Sample 2 has size n₂ = 40 from a population with σ₂² = 64. What is the standard error of the difference between the sample means, X̄₁ − X̄₂?

    There is more to this lesson

    The full lesson goes on to check your understanding and help you earn the marks. Create a free account to carry on, with your progress saved.

    Carry on with the full lesson

    5 free practice questions every day · Free forever · No card required

    Test your understanding of Hypothesis testing for 1 and 2 samples: difference of two means for two independent normal distributions with known variances

    Active recall beats re-reading. Take an instant quiz now to test what you’ve learned and lock it into long-term memory.

    Take topic quiz

    5 free practice questions every day · Free forever · No card required